package v1

import (
	"github.com/gogf/gf/v2/frame/g"
)

type LoginReq struct {
	g.Meta   `path:"/login" tags:"login" method:"post" summary:"用户登录"`
	Username string `json:"username" v:"required#请输入用户名" dc:"用户名"`
	Password string `json:"password" v:"required#请输入密码" dc:"密码"`
}
type UserinfoReq struct {
	g.Meta   `path:"/auth/me" tags:"getUserinfo" method:"get" summary:"获取用户信息"`
}
type LogoutReq struct {
	g.Meta   `path:"/auth/logout" tags:"logout" method:"post" summary:"用户退出登录"`
}
